package com.ruoyi.system.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 智能配货单对象 bx_sdphd
 * 
 * @author tianxingxia
 * @date 2025-03-22
 */
public class BxSdphd extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 单据ID */
    private Integer id;

    /** 配货日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "配货日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rq;

    /** 原单据号 */
    @Excel(name = "原单据号")
    private String ydjh;

    /** 渠道代码 */
    @Excel(name = "渠道代码")
    private String qddm;

    /** 渠道名称 */
    @Excel(name = "渠道名称")
    private String qdmc;

    /** 区域代码 */
    @Excel(name = "区域代码")
    private String qydm;

    /** 区域名称 */
    @Excel(name = "区域名称")
    private String qymc;

    /** 员工代码 */
    @Excel(name = "员工代码")
    private String ygdm;

    /** 员工名称 */
    @Excel(name = "员工名称")
    private String ygmc;

    /** 是否审核 */
    @Excel(name = "是否审核")
    private Integer sh;

    /** 是否生成或导出 */
    @Excel(name = "是否生成或导出")
    private Integer jz;

    /** 是否终止 */
    @Excel(name = "是否终止")
    private Integer sp;

    /** 区域名称 */
    @Excel(name = "区域名称")
    private String bz;

    /** 智能配货明细单信息 */
    private List<BxSdphdmx> bxSdphdmxList;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setRq(Date rq) 
    {
        this.rq = rq;
    }

    public Date getRq() 
    {
        return rq;
    }
    public void setYdjh(String ydjh) 
    {
        this.ydjh = ydjh;
    }

    public String getYdjh() 
    {
        return ydjh;
    }
    public void setQddm(String qddm) 
    {
        this.qddm = qddm;
    }

    public String getQddm() 
    {
        return qddm;
    }
    public void setQdmc(String qdmc) 
    {
        this.qdmc = qdmc;
    }

    public String getQdmc() 
    {
        return qdmc;
    }
    public void setQydm(String qydm) 
    {
        this.qydm = qydm;
    }

    public String getQydm() 
    {
        return qydm;
    }
    public void setQymc(String qymc) 
    {
        this.qymc = qymc;
    }

    public String getQymc() 
    {
        return qymc;
    }
    public void setYgdm(String ygdm) 
    {
        this.ygdm = ygdm;
    }

    public String getYgdm() 
    {
        return ygdm;
    }
    public void setYgmc(String ygmc) 
    {
        this.ygmc = ygmc;
    }

    public String getYgmc() 
    {
        return ygmc;
    }
    public void setSh(Integer sh) 
    {
        this.sh = sh;
    }

    public Integer getSh() 
    {
        return sh;
    }
    public void setJz(Integer jz) 
    {
        this.jz = jz;
    }

    public Integer getJz() 
    {
        return jz;
    }
    public void setSp(Integer sp) 
    {
        this.sp = sp;
    }

    public Integer getSp() 
    {
        return sp;
    }
    public void setBz(String bz) 
    {
        this.bz = bz;
    }

    public String getBz() 
    {
        return bz;
    }

    public List<BxSdphdmx> getBxSdphdmxList()
    {
        return bxSdphdmxList;
    }

    public void setBxSdphdmxList(List<BxSdphdmx> bxSdphdmxList)
    {
        this.bxSdphdmxList = bxSdphdmxList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("rq", getRq())
            .append("ydjh", getYdjh())
            .append("qddm", getQddm())
            .append("qdmc", getQdmc())
            .append("qydm", getQydm())
            .append("qymc", getQymc())
            .append("ygdm", getYgdm())
            .append("ygmc", getYgmc())
            .append("sh", getSh())
            .append("jz", getJz())
            .append("sp", getSp())
            .append("bz", getBz())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("bxSdphdmxList", getBxSdphdmxList())
            .toString();
    }
}
